
class Main extends egret.DisplayObjectContainer {

    loadingView:LoadingUI;

    public constructor() {
        super();
        this.addEventListener(egret.Event.ADDED_TO_STAGE, this.onAddToStage, this);
    }

    onAddToStage(event:egret.Event) {
		this.removeEventListener(egret.Event.ADDED_TO_STAGE, this.onAddToStage,this);
		this.go();
	}

	go():void{
		//init_conf(RES.getRes("conf_json"));
		var scene:Scene = new Scene();
		scene.x = 80;
		scene.y = 80;
		this.addChild(scene);
	}
}
